package com.jing.yao.excel;


import java.util.ArrayList;
import java.util.List;

/**
 * @author: Alex
 * @date: 2019/9/6 19:02
 */
public class ExcelResult<T> {
    private List<T> dataList = new ArrayList<>();
    private Boolean success;
    private List<ExcelErrorInfo> errorInfos = new ArrayList<>();

    public List<T> getDataList() {
        return dataList;
    }

    public void setDataList(List<T> dataList) {
        this.dataList = dataList;
    }

    public Boolean getSuccess() {
        return success;
    }

    public void setSuccess(Boolean success) {
        this.success = success;
    }

    public List<ExcelErrorInfo> getErrorInfos() {
        return errorInfos;
    }

    public void setErrorInfos(List<ExcelErrorInfo> errorInfos) {
        this.errorInfos = errorInfos;
    }
}
